package Entities;

import java.util.ArrayList;
import Entities.Order_item;
import java.sql.Date;

public class Purchase_order {
	private int PO_No;
	private Date date;
	private String paymentMethod;
	private Integer paymentNo;
	Customer cardNo;
	Terminal terminal;
	Pickup pickUpNo;
	Shipping shippingNo;
	ArrayList<Order_item> order_item = new ArrayList<Order_item>();

    public Purchase_order(int PO_No, Date date, String paymentMethod, Integer paymentNo, Customer cardNo, Terminal terminal, Pickup pickUpNo, Shipping shippingNo) {
        this.PO_No = PO_No;
        this.date = date;
        this.paymentMethod = paymentMethod;
        this.paymentNo = paymentNo;
        this.cardNo = cardNo;
        this.terminal = terminal;
        this.pickUpNo = pickUpNo;
        this.shippingNo = shippingNo;
    }

    public int getPO_No() {
        return PO_No;
    }

    public void setPO_No(int PO_No) {
        this.PO_No = PO_No;
    }

    public Customer getCardNo() {
        return cardNo;
    }

    public void setCardNo(Customer cardNo) {
        this.cardNo = cardNo;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public ArrayList<Order_item> getOrder_item() {
        return order_item;
    }

    public void setOrder_item(ArrayList<Order_item> order_item) {
        this.order_item = order_item;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public Integer getPaymentNo() {
        return paymentNo;
    }

    public void setPaymentNo(Integer paymentNo) {
        this.paymentNo = paymentNo;
    }

    public Pickup getPickUpNo() {
        return pickUpNo;
    }

    public void setPickUpNo(Pickup pickUpNo) {
        this.pickUpNo = pickUpNo;
    }

    public Shipping getShippingNo() {
        return shippingNo;
    }

    public void setShippingNo(Shipping shippingNo) {
        this.shippingNo = shippingNo;
    }

    public Terminal getTerminal() {
        return terminal;
    }

    public void setTerminal(Terminal terminal) {
        this.terminal = terminal;
    }

}